package com.naiterui.ehp.bs.doctor.repository;

import org.springframework.stereotype.Repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bs.doctor.domain.RecordWorkInfo;
import com.naiterui.ehp.bs.doctor.domain.StandardDict;

/**
 * @author guoyongxiang
 * @date 2020/2/21 18:38
 * @since 1.0.0
 */
@Repository
public interface IStandardDictRepository extends BaseJpaRepository<StandardDict, Long> {

    /**
     * 根据编码和类型查找
     *
     * @param code
     * @param type
     *
     * @return
     */
    StandardDict findByCodeAndType(String code, Integer type);
}
